package com.shxzz.easy12306.services.ticket.remote;

import com.shxzz.easy12306.framework.starter.common.dto.pay.RefundReqDTO;
import com.shxzz.easy12306.framework.starter.convention.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 支付远程服务
 * @author shxzz
 * @create 2024-03-18-18:57
 */
@FeignClient(value = "easy12306-pay-service")
public interface PayRemoteService {
    /**
     * 公共退款接口
     */
    @PostMapping("/api/pay-service/common/refund")
    Result<Void> commonRefund(@RequestBody RefundReqDTO requestParam);
}
